package com.demo.springcloudconfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * Author by admin, Email xx@xx.com, Date on 2020/6/2.
 * PS: Not easy to write code, please indicate.
 */
@SpringBootApplication
@EnableConfigServer  //表明这是一个  config server
public class MyConfigApplicaton {
    public static void main(String[] args) {
        SpringApplication.run(MyConfigApplicaton.class, args);
    }
}
